package pers.mobian.springtenth;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Date 2021/9/13 20:19
 * @Created mobian
 * @Description
 */
public class test01 {
	public static void main(String[] args) {

		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(Config.class);

		Teacher teacher = context.getBean("teacher", Teacher.class);
//		System.out.println(teacher);
	}
}
